<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>sampleFile - OpenGrok cross reference for /sampleFile</title></head><body>
<a class="l" name="1" href="#1">1</a>/* $Copyright:
<a class="l" name="2" href="#2">2</a> *
<a class="l" name="3" href="#3">3</a> * Copyright 1998-2000 by the Massachusetts Institute of Technology.
<a class="l" name="4" href="#4">4</a> *
<a class="l" name="5" href="#5">5</a> * All rights reserved.
<a class="l" name="6" href="#6">6</a> *
<a class="l" name="7" href="#7">7</a> * Permission to use, copy, modify, and distribute this software and its
<a class="l" name="8" href="#8">8</a> * documentation for any purpose and without fee is hereby granted,
<a class="l" name="9" href="#9">9</a> * provided that the above copyright notice appear in all copies and that
<a class="hl" name="10" href="#10">10</a> * both that copyright notice and this permission notice appear in
<a class="l" name="11" href="#11">11</a> * supporting documentation, and that the name of <a href="/source/s?path=M.I.T.">M.I.T.</a> not be used in
<a class="l" name="12" href="#12">12</a> * advertising or publicity pertaining to distribution of the software
<a class="l" name="13" href="#13">13</a> * without specific, written prior permission.  Furthermore if you modify
<a class="l" name="14" href="#14">14</a> * this software you must label your software as modified software and not
<a class="l" name="15" href="#15">15</a> * distribute it in such a fashion that it might be confused with the
<a class="l" name="16" href="#16">16</a> * original MIT software. <a href="/source/s?path=M.I.T.">M.I.T.</a> makes no representations about the
<a class="l" name="17" href="#17">17</a> * suitability of this software for any purpose.  It is provided &quot;as is&quot;
<a class="l" name="18" href="#18">18</a> * without express or implied warranty.
<a class="l" name="19" href="#19">19</a> *
<a class="hl" name="20" href="#20">20</a> * THIS SOFTWARE IS PROVIDED ``AS IS&apos;&apos; AND WITHOUT ANY EXPRESS OR IMPLIED
<a class="l" name="21" href="#21">21</a> * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
<a class="l" name="22" href="#22">22</a> * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
<a class="l" name="23" href="#23">23</a> *
<a class="l" name="24" href="#24">24</a> * Individual source code files are copyright MIT, Cygnus Support,
<a class="l" name="25" href="#25">25</a> * OpenVision, Oracle, Sun Soft, FundsXpress, and others.
<a class="l" name="26" href="#26">26</a> *
<a class="l" name="27" href="#27">27</a> * Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira,
<a class="l" name="28" href="#28">28</a> * and Zephyr are trademarks of the Massachusetts Institute of Technology
<a class="l" name="29" href="#29">29</a> * (MIT).  No commercial use of these trademarks may be made without prior
<a class="hl" name="30" href="#30">30</a> * written permission of MIT.
<a class="l" name="31" href="#31">31</a> *
<a class="l" name="32" href="#32">32</a> * &quot;Commercial use&quot; means use of a name in a product or other for-profit
<a class="l" name="33" href="#33">33</a> * manner.  It does NOT prevent a commercial firm from referring to the MIT
<a class="l" name="34" href="#34">34</a> * trademarks in order to convey information (although in doing so,
<a class="l" name="35" href="#35">35</a> * recognition of their trademark status should be given).
<a class="l" name="36" href="#36">36</a> * $
<a class="l" name="37" href="#37">37</a> */
<a class="l" name="38" href="#38">38</a>
<a class="l" name="39" href="#39">39</a>/* $Header: <a href="/source/s?path=/cvs/src/sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/ErrorList.r">/cvs/src/sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/ErrorList.r</a>,v 1.2 2001/12/04 02:05:56 rjs3 Exp $ */
<a class="hl" name="40" href="#40">40</a>
<a class="l" name="41" href="#41">41</a>type &apos;ErrT&apos; {
<a class="l" name="42" href="#42">42</a>	integer = $$CountOf (ErrorTable);		//	Number of errors in the table
<a class="l" name="43" href="#43">43</a>	align long;
<a class="l" name="44" href="#44">44</a>
<a class="l" name="45" href="#45">45</a>	wide array ErrorTable {
<a class="l" name="46" href="#46">46</a>EntryStart:
<a class="l" name="47" href="#47">47</a>											//	Calculate the length of this
<a class="l" name="48" href="#48">48</a>											//	array element (in bytes)
<a class="l" name="49" href="#49">49</a>		integer = (EntryEnd [$$ArrayIndex (ErrorTable)] -
<a class="hl" name="50" href="#50">50</a>					EntryStart [$$ArrayIndex (ErrorTable)]) / 8;
<a class="l" name="51" href="#51">51</a>		align long;
<a class="l" name="52" href="#52">52</a>
<a class="l" name="53" href="#53">53</a>		longint;							//	ErrorCode
<a class="l" name="54" href="#54">54</a>
<a class="l" name="55" href="#55">55</a>		cstring;							//	Short error string
<a class="l" name="56" href="#56">56</a>		align long;
<a class="l" name="57" href="#57">57</a>
<a class="l" name="58" href="#58">58</a>		cstring;							//	Long error string
<a class="l" name="59" href="#59">59</a>		align long;
<a class="hl" name="60" href="#60">60</a>
<a class="l" name="61" href="#61">61</a>EntryEnd:
<a class="l" name="62" href="#62">62</a>	};
<a class="l" name="63" href="#63">63</a>};
<a class="l" name="64" href="#64">64</a>
<a class="l" name="65" href="#65">65</a>
<a class="l" name="66" href="#66">66</a>/* sample
<a class="l" name="67" href="#67">67</a>
<a class="l" name="68" href="#68">68</a>format: error number, short error string, long error string
<a class="l" name="69" href="#69">69</a>error numbers don&apos;t have to be consecutive
<a class="hl" name="70" href="#70">70</a>
<a class="l" name="71" href="#71">71</a>resource &apos;ErrT&apos; (129, &quot;Manager Name&quot;)
<a class="l" name="72" href="#72">72</a>{
<a class="l" name="73" href="#73">73</a>	{
<a class="l" name="74" href="#74">74</a>		-1, &quot;Short 1&quot;, &quot;Long 1&quot;,
<a class="l" name="75" href="#75">75</a>		-2, &quot;Short 2&quot;, &quot;Long 2&quot;
<a class="l" name="76" href="#76">76</a>	}
<a class="l" name="77" href="#77">77</a>};
<a class="l" name="78" href="#78">78</a>
<a class="l" name="79" href="#79">79</a>*/</body>
</html>
